@extends('layouts.app')

@section('content')
@if(session()->has('message'))
    <div class="alert alert-success" role="alert">{{ session()->get('message') }}</div>
@endif
<hr>
<form action="{{ route("feedback.store") }}" method="post">
    {{ csrf_field() }}
    <div class="form-group">
        <label for="title">留言标题</label>
        <input type="text" class="form-control" name="title" id="title" placeholder="请输入您的留言标题">
    </div>
    <div class="form-group">
        <label for="content">留言内容</label>
        <textarea class="form-control" name="content" rows="5" placeholder="在这里输入您的留言内容"></textarea>
    </div>
    <hr>
    <button type="submit" class="btn btn-default">提交</button>
</form>
@endsection
